package com.bdmc.car.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bdmc.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 维修详单对象 car_maintenance_detail
 *
 * @author bdmc
 * @date 2023-01-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("car_maintenance_detail")
public class CarMaintenanceDetail extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 维修详情id
     */
    @TableId(value = "detail_id")
    private Integer detailId;
    /**
     * 维修单id
     */
    private Integer maintenanceId;
    /**
     * 维修子项id
     */
    private Integer itemId;
    /**
     * 数量
     */
    private Integer itemCount;
    /**
     * 金额
     */
    private BigDecimal amount;

}
